package com.zhentao.controller;

import com.zhentao.service.TbChannelService;
import com.zhentao.utils.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: ChannelController
 * @Author: 振涛教育_Q
 * @Date: 2024/12/8 0:12
 */
@RestController
@RequestMapping("/channel")
public class ChannelController {
    @Autowired
    private TbChannelService channelService;

    /**
     * @description  档案类型查询
     * @author 振涛教育_小Q
     * @date    2024/12/8 0:12
      * @param
     * @return com.zhentao.utils.ResponseResult
     */
    @GetMapping("/list")
    public ResponseResult channelList(){
        return channelService.channelList();
    }
}
